package cn.befory.common;

/**
 * 异常码表
 */
public enum ExCode {
    OK("200","成功"),
    E_90001("90001","参数错误"),
    E_90002("90002","参数验证不合法"),
    ;

    private String code;

    private String msg;

    ExCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
